<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改用户</title>
</head>
<body>
<form th:action="@{/good/update}" method="post">
    <input type="hidden" name="id" th:value="${goods.id}">
    商品名称：<input type="text" name="name" th:value="${goods.name}"/><br/>
    商品价格：<input type="text" name="price" th:value="${goods.price}"/><br/>
    商品数量：<input type="text" name="num" th:value="${goods.num}"/><br/>
    商品状态：<input type="text" name="status" th:value="${goods.status}"/><br/>
    <input type="submit" value="修改"/><br/>
</form>
</body>
</html>